
cc.Class({
    extends: cc.Component,

    properties: {
      
        boomFrameArray:[cc.Vec2]
    },


    onLoad () {


      

    },

    start () {

        
    },

    init(){


        this.node.active=true;

        let spine = this.node.getComponent(sp.Skeleton);

        let track = spine.setAnimation(2, "disappear",false);

            spine.setCompleteListener(() => {
        
                this.node.active=false
                spine.clearTrack (2)
                console.log("结束回调");


            });
  
    }
 
});

